import BaseLayout from "../../layouts/BaseLayout.vue";
import {ref} from "vue";


const routes_fast = ref([
  {
    path: '/excel',
    component: BaseLayout,
    meta: { title: '用例上传' },
    children: [
      {
        path: '/excel/uploadExcel',
        component: () => import('../../views/ThirdPartTools/FastApi/UploadExcel.vue'),
        meta: { title: '上传用例' },
      },
      // {
      //   path: '/excel/queryExcel',
      //   component: () => import('../../views/ThirdPartTools/FastApi/QueryRecord.vue'),
      //   meta: { title: '记录查看' },
      // },
      {
        path: '/excel/configEdit',
        component: () => import('../../views/ThirdPartTools/FastApi/ConfigEdit.vue'),
        meta: { title: '参数配置' },
      },
    ]
  },
  {
    path: '/aml',
    component: BaseLayout,
    meta: { title: '切换公司号' },
    children: [
      {
        path: '/aml/change',
        component: () => import('../../views/ThirdPartTools/FastApi/AmlOperation.vue'),
        meta: { title: '切换公司号' },
      },
      {
        path: '/aml/company',
        component: () => import('../../views/ThirdPartTools/FastApi/AMLCompanyNo.vue'),
        meta: { title: '维护公司号' },
      },
      {
        path: '/aml/AIHelper',
        component: () => import('../../views/ThirdPartTools/FastApi/AITestHelper.vue'),
        meta: { title: 'AI测试助手' },
      }
    ]
  },
  {
    path: '/case',
    component: BaseLayout,
    meta: { title: '场景生成' },
    children: [
      {
        path: '/case/create',
        component: () => import('../../views/ThirdPartTools/TestCase/TestCaseLink.vue'),
        meta: { title: '场景生成' },
      }
    ]
  },
  {
    path: '/plat',
    component: BaseLayout,
    meta: { title: '用例上传' },
    children: [
      {
        path: '/plat/countTables',
        component: () => import('../../views/ThirdPartTools/FastApi/CountTables.vue'),
        meta: { title: '统计报表' },
      },
      {
        path: '/plat/configTables',
        component: () => import('../../views/ThirdPartTools/FastApi/ConfigTables.vue'),
        meta: { title: '报表查询参数' },
      },
    ]
  },
  {
    path: '/aiCase',
    component: BaseLayout,
    meta: { title: 'AI用例生成' },
    children: [
        {
        path: '/aiCase/aiExchange',
        component: () => import('../../views/ThirdPartTools/TestCase/AiCases.vue'),
        meta: { title: '测分转自动化' },
      },
      {
        path: '/aiCase/create',
        component: () => import('../../views/ThirdPartTools/TestCase/CheckCaseCreate.vue'),
        meta: { title: '勾稽用例生成' },
      },
      {
        path: '/aiCase/hgRiskCreate',
        component: () => import('../../views/ThirdPartTools/TestCase/NeikongRisk.vue'),
        meta: { title: '内控用例生成' },
      },
      {
        path: '/aiCase/fxqRiskCreate',
        component: () => import('../../views/ThirdPartTools/TestCase/FxqIndicatorCreate.vue'),
        meta: { title: '指标平台用例生成' },
      },
       {
        path: '/aiCase/LimitCreate',
        component: () => import('../../views/ThirdPartTools/TestCase/LimitCaseCreate.vue'),
        meta: { title: '限额管理用例生成' },
      },
      {
        path: '/aiCase/manualCase',
        component: () => import('../../views/ThirdPartTools/TestCase/ManualCaseCreate.vue'),
        meta: { title: '手工用例批量生成' },
      }
    ]
  },
]);

export default routes_fast.value;